package MessageBoard;

import java.util.*;

public class Message {
	private int limitwords = 140;
	private String mes;
	private User user;
	

//	public Message(String mes2, String username) {
//		this.mes = mes2;
//
//    }
	public Message(String mes2, User user) {
		this.mes = mes2;
		this.user=user;
    }
	
	public String toString(){
		return "message="+ mes+"   username="+ user.getUsername();
	}
}

